<%@page contentType="text/html; charset=utf-8" language="java" %>
<%@page import="biz.UserBiz" %>
<%@page import="bean.User" %>
<html>
	<head>
		<link href="css.css" rel="stylesheet" type="text/css">
		<title>退出登录</title>
		<%
		String action = request.getParameter("action");
		if((action != null) && action.equals("logout")){
				session.setAttribute("uid",null);
				response.sendRedirect("index.jsp");
		}
		%>
	</head>
	<body>
		<jsp:include page="/head.jsp"/>
			<center><fieldset>
			<p class="f_title">退出登录</p>
			<div class="disc">退出登录能结束当前的会话，确定退出请点击确定。</div>
			<br/>
			<form method="post" action="logout.jsp?action=logout">
				<input type="submit" value="确定" style="width:60px" class="button"/>
				<input type="button" value="取消" onClick="javascript:history.back()" style="width:60px" class="button"/>	
			</form>
			</fieldset></center>
		<jsp:include page="/copyright.html"/>
	</body>
</html>